@import url(./commonLess/tableLess.less);
@import url(./commonLess/newEditStyle.less);
@import url(./commonLess/transferStyle.less);
@import url(./commonLess/createFormStyle.less);
@import url(./commonLess/inputSelectStyle.less);
@import url(./commonLess/btnStyle.less);
@import url(./commonLess/confirmStyle.less);
@import url(./commonLess/antOverride.less);
@import url(./commonLess/baseInforRight.less);
@import url(./commonLess/tableDraggable.less);

html {
  overflow: hidden;
  font-family: arial, '宋体';
}

::-webkit-scrollbar {
  width: 8px;
  /*对垂直滚动条有效*/
  height: 8px;
  /*对水平滚动条有效*/
  color: transparent;
}

/*定义滚动条的轨道颜色、内阴影及圆角*/
::-webkit-scrollbar-track {
  background-color: #fff;
  border-radius: 8px;
}

/*定义滑块颜色、内阴影及圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background-color: #ddd;
}

/* 光标移到滚动滑块上样式颜色变深 */
::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

// .custom-scroll-bar ::-webkit-scrollbar{width:3px;height:8px;color: transparent;}
// .custom-scroll-bar ::-webkit-scrollbar-thumb{border-radius:8px;background:transparent}
// .custom-scroll-bar ::-webkit-scrollbar-track{border-radius:8px;background:rgba(0,0,0,.05)}
// .custom-scroll-bar :hover::-webkit-scrollbar-thumb{border-radius:8px;background:rgba(0,0,0,.1)}

// 大于1200屏幕
@media screen and (min-width: 1200px) {
  html {
    font-size: 10px !important;
  }
  body{
    font-size: 1.2rem !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  html {
    font-size: 9.25px;
  }
}

// 小于768屏幕
@media screen and (max-width: 768px) {
  html {
    font-size: 7.5px;
  }
}

// 左右分块页面
.multiplePiecesPage {
  display: flex;
  height: 100%;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.h100 {
  height: 100%;
}

.withLine {
  position: relative;
  padding-left: 10px;
  &::before {
    position: absolute;
    left: 0;
    content: '';
    width: 6px;
    height: 1em;
    top: 50%;
    background-color: rgba(67, 136, 166, 1);
    transform: translateY(-50%);
  }
}
.title12 {
  font-size: 1.2rem;
  font-weight: bold;
}

.title14 {
  font-size: 14px;
  font-weight: bold;
}

.title18 {
  font-size: 18px;
  font-weight: bold;
  color: #5e5e5e;
}
.withVerticleLineT4 {
  position: relative;
  padding-left: 10px;
  &::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    background-color: rgba(67, 136, 166, 1);
    height: 0.9em;
  }
}

.fs-18 {
  font-size: 18px !important;
}
.text-bold {
  font-weight: 700;
}
// 右侧抽屉内容没有分栏的容器基本样式
.rightDrawerWithoutCol {
  height: 100%;
  padding: @drawerContentPt @drawerPr @drawerContentPb @drawerPl;
  overflow: auto;
}
.rightDrawerInnerBoxBottomline {
  height: 1px;
  border-bottom: 1px solid @borderColor;
  overflow: hidden;
  margin: 0 24px;
  box-sizing: border-box;
}

.mb16 {
  margin-bottom: 16px;
}
.mb8 {
  margin-bottom: 8px;
}
.titleSmallDescText {
  font-weight: 500;
  margin-left: 2px;
  color: #999;
  font-size: 0.9em;
}

// 右侧框顶部标题右边部分类似+按钮样式
.headerBtnClas {
  min-width: 28px;
  height: 28px;
  padding: 0;
  .iconfont {
    margin-right: 0;
  }
}
.withTextAndTagTd {
  display: flex;
  .tdText {
    margin-right: 8px;
  }
  .tdTag {
    flex: none;
  }
}

.newBtnWithPlus {
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fafafa;
  margin: 16px 0;
  padding: 0;
  font-size: 24px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.has-error{
  .ant-input[disabled]{
    background-color: #f5f5f5;
  }
}

.batch-delete-btn{
  background-color: red;
  border-color: red;
  //border-radius: 5px;
}
.flowDesignPropertyInputTipBox {
  max-width: 350px;
  line-height: 1.6em;
  text-align: justify;
  p {
    margin-bottom: 8px;
  }
}

// 必填写星号样式
.requiredStar {
  color: #f5222d;
  font-size: 1.6rem;
}
// 已上架绿色背景颜色样式
.onshelf{
  background-color: rgba(231, 250, 240, 1);
  color: #13CCA0;
  padding: 6px 12px;
}
.offshelf{
  background-color: rgba(255, 237, 237, 1);
  color: #D9001B;
  padding: 6px 12px;
}

.itemInfor {
  padding: 8px 0;
  position: relative;
  .Inforlabel {
    position: absolute;
    //left: 0;
    //top: 0;
    display: inline-block;
    width: 92px;
  }
  .Inforcontent {
    padding-left: 90px;
  }
}
.ant-table-row:nth-child(even) {
      background: #fafafa;
}
.ant-table-thead {
  tr {
    th {
       background: #B7C2CF;
      .ant-table-header-column .ant-table-column-sorters:hover::before {
        background: #B7C2CF
      }
    }
    th.ant-table-column-sort {
      background: #B7C2CF;
    }
    .off{
      color: #5e5e5e;
    }
  } 
}


